using System.Collections;

namespace BoxUnBox
{
	struct Person
	{
		public string Name;
		public override string ToString()
		{
			return Name;
		}
	}
	
	class Program
	{
		static void Main(string[] args)
		{
			ArrayList array = new System.Collections.ArrayList();
			Person jim = new Person() {Name = "Jim"};
			array.Add(jim);
			
			Person first = (Person)array[0];
			first.Name = "Perter";
			System.Console.WriteLine(array[0].ToString());
			System.Console.WriteLine(first.ToString());
		}
	}
}